package com.bai.shopping.product.service;

import com.bai.shopping.product.vo.AttrRespVo;
import com.bai.shopping.product.vo.AttrVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bai.shopping.common.utils.PageUtils;
import com.bai.shopping.product.entity.AttrEntity;

import java.util.Map;

/**
 * 商品属性
 *
 * @author bai
 * @email 2747114262@qq.com
 * @date 2024-01-14 09:01:46
 */
public interface AttrService extends IService<AttrEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveAttr(AttrVo attr);

    PageUtils querBaseAttrPage(Map<String, Object> params, Long catelogId, String attrType);

    AttrRespVo getAttrInfo(Long attrId);

    void updateAttr(AttrRespVo attr);
}

